package com.example.day05.ex03;

/**
 * @author 17976
 */
public class MethodTest {public static void main(String[] args) {

    int result = getMax(10,20);
    System.out.println(result);

    System.out.println(getMax(10,20));
}

    public static int getMax(int a, int b) {
        if(a > b) {
            return a;
        } else {
            return b;
        }
    }
}
